package com.charry.VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * Created by Charry on 2017/11/2.
 */
@Data
public class ProductInfoVO {

    /*
    "id": "123456",
    "name": "皮蛋粥",
    "price": 1.2,
    "description": "好吃的皮蛋粥",
    "icon": "http://xxx.com",
     */

    @JsonProperty("id")
    private String productId;

    @JsonProperty("name")
    private String productName;

    @JsonProperty("price")
    private BigDecimal productPrice;

    @JsonProperty("description")
    private String productDescription;

    @JsonProperty("icon")
    private String productIcon;


}
